#include "Declarator.h"
#include "Pointer.h"
#include "DirectDeclarator.h"


Declarator::~Declarator(void)
{
	if(m_pPointer)
		delete m_pPointer;
	delete m_pDDecl;
}

void Declarator::codeGen()
{
	COUT
	if(m_pPointer)
		m_pPointer->codeGen();
	m_pDDecl->codeGen();
}